package com.ym.b2b.complaint.dao;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.complaint.sqlbean.EmBComplaint;
import com.zc.commons.base.Page;

public interface EmBComplaintDAO {

    Long searchPageEmBComplaintNum(EmBComplaint embcomplaint) throws DataAccessException;

    Page searchPageEmBComplaint(EmBComplaint embcomplaint, Page<EmBComplaint> page) throws DataAccessException;

    void insertEmBComplaint(EmBComplaint record) throws DataAccessException;

    int updateEmBComplaint(EmBComplaint record) throws DataAccessException;

    EmBComplaint searchEmBComplaint(Long complaintId) throws DataAccessException;

    int deleteEmBComplaint(Long complaintId) throws DataAccessException;

    int deleteMultipleEmBComplaint(String complaintIdList);

    int updateEmBComplaintBat(EmBComplaint emBComplaint);

}
